import request from "@/utils/request";

// 获取厂区会员列表
export function factoryList(params) {
  return request({
    url: "/business/enterpriseUser/factoryList",
    method: "get",
    params,
  });
}

// 获取会员列表
export function memberList(params) {
  return request({
    url: "/business/member/memberList",
    method: "get",
    params,
  });
}

// 企业下拉选

export function enterpriseUser() {
  return request({
    url: "/business/enterpriseUser/list",
    method: "get",
  });
}

export function exportSDSWord1(data) {
  return request({
    url: "/exportSDS/exportSDSWord1",
    method: "post",
    headers: { "Content-Type": "application/x-www-form-urlencoded" },
    data,
  });
}
export function exportSASWord1(data) {
  return request({
    url: "/exportSAS/exportSASWord1",
    method: "post",
    headers: { "Content-Type": "application/x-www-form-urlencoded" },
    data,
  });
}
export function exportSclWord1(data) {
  return request({
    url: "/exportScl/exportSclWord1",
    method: "post",
    headers: { "Content-Type": "application/x-www-form-urlencoded" },
    data,
  });
}

export function exportSDSWord(data) {
  return request({
    url: "/exportSDS/exportSDSWord",
    method: "post",
    headers: { "Content-Type": "application/x-www-form-urlencoded" },
    data,
  });
}

export function exportSASWord(data) {
  return request({
    url: "/exportSAS/exportSASWord",
    method: "post",
    headers: { "Content-Type": "application/x-www-form-urlencoded" },
    data,
  });
}

export function exportSclWord(data) {
  return request({
    url: "/exportScl/exportSclWord",
    method: "post",
    headers: { "Content-Type": "application/x-www-form-urlencoded" },
    data,
  });
}

export function exportSclWord2(data) {
  return request({
    url: "/exportScl/exportSclWord2",
    method: "post",
    headers: { "Content-Type": "application/x-www-form-urlencoded" },
    data,
  });
}

export function exportSclWord4(data) {
  return request({
    url: "/exportScl/exportSclWord4",
    method: "post",
    headers: { "Content-Type": "application/x-www-form-urlencoded" },
    data,
  });
}

